<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Untitled Document</title>
        <style type="text/css">
            #apDiv1 {
                position: absolute;
                width: 789px;
                height: 439px;
                z-index: 1;
                left: 10px;
                top: 126px;
                background-color: #CFCFCF;
            }
            #apDiv2 {
                position: absolute;
                width: 791px;
                height: 115px;
                z-index: 2;
                left: 8px;
                top: 6px;
                background-color: #FF3C3C;
            }
            #apDiv3 {
                position: absolute;
                width: 209px;
                height: 212px;
                z-index: 2;
                left: 14px;
                top: 131px;
                background-color: #CFCFCF;
            }
            body,td,th {
                font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
            }
            a:link {
                color: #2821B8;
                text-decoration: none;
            }
            #apDiv1 h1 {
                color: #FF3C3C;
            }
            a:visited {
                text-decoration: none;
            }
            a:hover {
                text-decoration: none;
            }
            a:active {
                text-decoration: none;
            }
            body {
                background-color: #838383;
            }
            #apDiv4 {
                position: absolute;
                width: 243px;
                height: 152px;
                z-index: 3;
                left: 324px;
                top: 236px;
            }
        </style>
    </head>
    <body>
        <h1>&nbsp;</h1>
        <div id="apDiv1">
            <h1>Konfirmasi Pemesanan</h1>
            <?php
            include("Koneksi.php");
            $kd_pesanan = $_GET['kd_pesanan'];
            $q = "select * from pesanan where kode_pesanan=$kd_pesanan";
            $rs = oci_parse($conn, $q);
            oci_execute($rs);
            $dt = oci_fetch_assoc($rs);
            $kode_pesanan = $dt["KODE_PESANAN"];
            $kode_barang = $dt["KODE_BARANG"];
            $id_pelanggan = $dt["ID_PELANGGAN"];
            $tanggal_pesan = $dt["TANGGAL_PESAN"];
            $nama_toko = $dt["NAMA_TOKO"];
            ?> 
            <form id="form1" name="form1" method="post" action="DetailsFormTerimaPesananAction.php">
                <table width="716" border="0">
                    <tr>
                        <td width="133">Kode Pesananan</td>
                        <td width="8">:</td>
                        <td><input type="text" name="Kode_Pesanan" value="<?php echo $kode_pesanan ?>"/></td>
                    </tr>
                    <tr>
                        <td>Kode Barang</td>
                        <td>:</td>
                        <td><input type="text" name="Kode_Barang"  value="<?php echo $kode_barang ?>"/></td>
                    </tr>
                    <tr>
                        <td>Id Pelanggan</td>
                        <td>:</td>
                        <td><input type="text" name="Id_Pelanggan"  value="<?php echo $id_pelanggan ?>"/></td>
                    </tr>
                    <tr>
                        <td>Tanggal Pesan</td>
                        <td>:</td>
                        <td><input type="text" name="Tanggal_Pesan" value="<?php echo $tanggal_pesan ?>" /></td>
                    </tr>
                    <tr>
                        <td>Nama Toko</td>
                        <td>:</td>
                        <td><input type="text" name="Nama_Toko" value="<?php echo $nama_toko ?>"/></td>
                    </tr>
                    <tr>
                        <td valign="top">Catatan</td>
                        <td>:</td>
                        <td>
                            <textarea name="Catatan" id="textarea" cols="45" rows="5"></textarea>
                        </td>
                    </tr>
                    <tr>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                        <td><input type="submit" name="button" id="button" value="Update" />        <a href="FormPemesanan.php"></a></td>
                    </tr>
                </table>
                <table width="208" border="0">
                    <tr>
                        <td width="202" align="right"><a href="FormPemesanan.php">
                                <input type="reset" name="button3" id="button3" value="Reset" />
                            </a></td>
                    </tr>
                </table>
            </form>
            <form action="FormTerimaPesanan.php">
                <table width="204" border="0">
                    <tr>
                        <td width="198" align="right"><a href="FormPemesanan.php">
                                <input type="submit" name="button2" id="button2" value="Batal" />
                            </a></td>
                    </tr>
                </table>
            </form>
        </div>
        <p>&nbsp;</p>
        <div id="apDiv2">
            <h1>Distributor Aqua</h1>
        </div>
    </body>
</html>
